//
//  NewsController.h
//  iCarStyle
//
//  Created by liunian on 13-9-10.
//  Copyright (c) 2013年 liunian. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReqObject.h"

@class NewsController;
@protocol NewsControllerDelegate <NSObject>

- (void)willLoadMoreDataWithNewsController:(NewsController *)controller;
@end

@interface NewsController : UITableViewController<NSFetchedResultsControllerDelegate>
@property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;
@property (nonatomic, strong) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, strong) ReqObject     *objectReq;

- (id)initWithCatalog:(CatalogType)type delegate:(id<NewsControllerDelegate>)delegate;
- (void)viewWillReload;
@end
